#include"Rectangle.h"

Rectangle::Rectangle(int a, int b)
{
	width = a;
	height = b;
}

Rectangle::~Rectangle()
{
	cout << "I love you...kiss...kiss";
}

int Rectangle::area()
{
	return (width*height);
}

void show()
{
	Rectangle recta(5, 6);
	static Rectangle rectb(3, 4);
	cout << "area a: " << recta.area()<<endl;
	cout << "area b: " << rectb.area()<<endl;
}

